<?php
namespace App\Models;
use Illuminate\Support\Facades\DB;

class ShopStoreRoles extends CommonModel {
	protected $table = 'shop_store_roles';


    public function getRolesDetailById($uid){
        return self::where(['uid'=>$uid])->select('id','store_id','uid','group_id','username','mobile')->first();
    }
}